//
//  ZYCTeaLeaveRecordModel.m
//  ZDSC
//
//  Created by 张威 on 2021/11/4.
//

#import "ZYCTeaLeaveRecordModel.h"

@implementation ZYCTeaLeaveRecordModel

- (NSString *)attendanceStatusStr{
    if ([self.attendanceStatus integerValue] == 1) {
        return @"正常";
    }else if ([self.attendanceStatus integerValue] == 2) {
        return @"迟到";
    }else if ([self.attendanceStatus integerValue] == 3) {
        return @"早退";
    }else if ([self.attendanceStatus integerValue] == 4) {
        return @"缺卡";
    }else if ([self.attendanceStatus integerValue] == 5) {
        return @"请假";
    }else if ([self.attendanceStatus integerValue] == 6) {
        return @"加班";
    }else{
        return @"";
    }
}

- (NSString *)endAttendanceStatusStr{
    if ([self.endAttendanceStatus integerValue] == 1) {
        return @"正常";
    }else if ([self.endAttendanceStatus integerValue] == 2) {
        return @"迟到";
    }else if ([self.endAttendanceStatus integerValue] == 3) {
        return @"早退";
    }else if ([self.endAttendanceStatus integerValue] == 4) {
        return @"缺卡";
    }else if ([self.endAttendanceStatus integerValue] == 5) {
        return @"请假";
    }else if ([self.endAttendanceStatus integerValue] == 6) {
        return @"加班";
    }else{
        return @"";
    }
}
@end
